package com.chenyongjing.design.pattern.decorator.battercake.v1;

public class BatterCakeWithEgg extends BatterCake {
    protected String getMsg(){
        return super.getMsg()+"+1个鸡蛋";
    }

    public int getPrice(){
        return super.getPrice()+1 ;
    }
}
